package com.chuan.it_market.dao;

import com.chuan.it_market.pojo.entity.ShopCar;
import com.chuan.it_market.pojo.vo.ShopCarVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ShopCarDao {
    int deleteByPrimaryKey(Integer cno);

    int insert(ShopCar record);

    int insertSelective(ShopCar record);

    ShopCar selectByPrimaryKey(Integer cno);

    int updateByPrimaryKeySelective(ShopCar record);

    int updateByPrimaryKey(ShopCar record);

    List<ShopCarVO> selectByBno(Integer bno);

    Integer selectCarsCountByBno(Integer bno);
}